package cn.tedu.egbank.transaction.pojo.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TransactionVO {
    private Integer id;
    private Integer fromAccountId;
    private Integer toAccountId;
    private BigDecimal amount;
    private TransactionType type;
    private Date createdAt;

    public enum TransactionType {
        DEPOSIT,WITHDRAW,TRANSFER
    }
}
